import React from 'react';
class ParentTip extends React.Component {
  render() {
    return (
      <div className="parent-tip">
        <div className="title">稍后宝贝答题时我会帮他吗?</div>
        <div className="radio">
          <label>
            <input type="radio" name="help" onChange={() => {this.props.getHelp(1)}}/>我会帮助
          </label>
        </div>
        <div className="radio">
          <label>
            <input type="radio" defaultChecked = 'true' name="help" onChange={() => {this.props.getHelp(2)}}/>我不会帮助
          </label>
        </div>
      </div>
    );
  }
}
export default ParentTip;